CREATE TABLE [dbo].[CurrentDeposit]
(
[Id] [int] NOT NULL,
[ReaderId] [int] NULL,
[Amout] [float] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CurrentDeposit] ADD CONSTRAINT [PK_CurrentDeposit] PRIMARY KEY CLUSTERED  ([Id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CurrentDeposit] ADD CONSTRAINT [FK_CurrentDeposit_Reader] FOREIGN KEY ([ReaderId]) REFERENCES [dbo].[Reader] ([Id])
GO
